package com.dianping.cat.home.dal.report;

import java.util.Date;
import org.unidal.dal.jdbc.DataObject;













public class MetricGraph
  extends DataObject
{
  private int m_id;
  private long m_graphId;
  private String m_content;
  private Date m_creationDate;
  private Date m_updatetime;
  private int m_keyId;
  private int m_number;

  public void afterLoad() {
/*  30 */     this.m_keyId = this.m_id;
    clearUsage();
  }


/*  35 */   public String getContent() { return this.m_content; }



/*  39 */   public Date getCreationDate() { return this.m_creationDate; }



/*  43 */   public long getGraphId() { return this.m_graphId; }



/*  47 */   public int getId() { return this.m_id; }



/*  51 */   public int getKeyId() { return this.m_keyId; }



/*  55 */   public int getNumber() { return this.m_number; }



/*  59 */   public Date getUpdatetime() { return this.m_updatetime; }


  public MetricGraph setContent(String content) {
/*  63 */     setFieldUsed(MetricGraphEntity.CONTENT, true);
/*  64 */     this.m_content = content;
/*  65 */     return this;
  }

  public MetricGraph setCreationDate(Date creationDate) {
/*  69 */     setFieldUsed(MetricGraphEntity.CREATION_DATE, true);
/*  70 */     this.m_creationDate = creationDate;
/*  71 */     return this;
  }

  public MetricGraph setGraphId(long graphId) {
/*  75 */     setFieldUsed(MetricGraphEntity.GRAPH_ID, true);
/*  76 */     this.m_graphId = graphId;
/*  77 */     return this;
  }

  public MetricGraph setId(int id) {
/*  81 */     setFieldUsed(MetricGraphEntity.ID, true);
/*  82 */     this.m_id = id;

/*  84 */     setFieldUsed(MetricGraphEntity.KEY_ID, true);
/*  85 */     this.m_keyId = id;
/*  86 */     return this;
  }

  public MetricGraph setKeyId(int keyId) {
/*  90 */     setFieldUsed(MetricGraphEntity.KEY_ID, true);
/*  91 */     this.m_keyId = keyId;
/*  92 */     return this;
  }

  public MetricGraph setNumber(int number) {
/*  96 */     setFieldUsed(MetricGraphEntity.NUMBER, true);
/*  97 */     this.m_number = number;
/*  98 */     return this;
  }

  public MetricGraph setUpdatetime(Date updatetime) {
/* 102 */     setFieldUsed(MetricGraphEntity.UPDATETIME, true);
/* 103 */     this.m_updatetime = updatetime;
/* 104 */     return this;
  }


  public String toString() {
/* 109 */     StringBuilder sb = new StringBuilder(1024);

/* 111 */     sb.append("MetricGraph[");
/* 112 */     sb.append("content: ").append(this.m_content);
/* 113 */     sb.append(", creation-date: ").append(this.m_creationDate);
/* 114 */     sb.append(", graph-id: ").append(this.m_graphId);
/* 115 */     sb.append(", id: ").append(this.m_id);
/* 116 */     sb.append(", key-id: ").append(this.m_keyId);
/* 117 */     sb.append(", number: ").append(this.m_number);
/* 118 */     sb.append(", updatetime: ").append(this.m_updatetime);
/* 119 */     sb.append("]");
/* 120 */     return sb.toString();
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/dal/report/MetricGraph.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */